package com.turing.post.organization.util;

import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author zxp
 * @date 2012-12-14
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "BUSINESSDISTRICT")
public class BusinessDistrict implements java.io.Serializable {

	/**
	 * 正常:0
	 */
	public static final String STATUS_NORMAL = "0";
	/**
	 * 新增待审核:1
	 */
	public static final String STATUS_INSERT = "1";
	/**
	 * 修改待审核:2
	 */
	public static final String STATUS_UPDATE = "2";
	/**
	 * 删除待审核:3
	 */
	public static final String STATUS_DELETE = "3";

	/**
	 * 商圈ID
	 */
	private BigInteger businessDistrictId;
	/**
	 * 商圈名称
	 */
	private String businessDistrictName;
	/**
	 * 发卡商No
	 */
	private String issueCompanyNo;

	/**
	 * 商圈上级编号
	 */
	private BigInteger superBusinessDistrictId;

	/**
	 * 状态
	 */
	private String status;

	/**
	 * 创建人
	 */
	private BigInteger createOperId;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 审核人
	 */
	private BigInteger authOperId;
	/**
	 * 审核时间
	 */
	private Date authTime;
	/**
	 * 备注
	 */
	private String remark;

	@Column(name = "STATUS")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public BusinessDistrict() {
	}

	@Id
	@Column(name = "BUSINESSDISTRICTID")
	public BigInteger getBusinessDistrictId() {
		return businessDistrictId;
	}

	public void setBusinessDistrictId(BigInteger businessDistrictId) {
		this.businessDistrictId = businessDistrictId;
	}

	@Column(name = "BUSINESSDISTRICTNAME")
	public String getBusinessDistrictName() {
		return businessDistrictName;
	}

	public void setBusinessDistrictName(String businessDistrictName) {
		this.businessDistrictName = businessDistrictName;
	}

	@Column(name = "ISSUECOMPANYNO")
	public String getIssueCompanyNo() {
		return issueCompanyNo;
	}

	public void setIssueCompanyNo(String issueCompanyNo) {
		this.issueCompanyNo = issueCompanyNo;
	}

	@Column(name = "SuperBusinessDistrictId")
	public BigInteger getSuperBusinessDistrictId() {
		return superBusinessDistrictId;
	}

	public void setSuperBusinessDistrictId(BigInteger superBusinessDistrictId) {
		this.superBusinessDistrictId = superBusinessDistrictId;
	}

	@Column(name = "CREATEOPERID")
	public BigInteger getCreateOperId() {
		return createOperId;
	}

	public void setCreateOperId(BigInteger createOperId) {
		this.createOperId = createOperId;
	}

	@Column(name = "CREATETIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "AUTHOPERID")
	public BigInteger getAuthOperId() {
		return authOperId;
	}

	public void setAuthOperId(BigInteger authOperId) {
		this.authOperId = authOperId;
	}

	@Column(name = "AUTHTIME")
	public Date getAuthTime() {
		return authTime;
	}

	public void setAuthTime(Date authTime) {
		this.authTime = authTime;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}